import { createApp } from "vue";
import App from "./App.vue";
import "element-plus/es/components/message/style/css";
import { initRouter } from "./router";
import { initStore } from "./store";
import { initPlus } from "./elementplus";
import { regAllDirective } from "./directives";
import "./assets/style.less";
import "reset-css";

const app = createApp(App);

// 初始化路由
// app.use(router);
initRouter(app);

// 初始化仓库
initStore(app);
// 国际化语言
initPlus(app);

// 自定义指令
regAllDirective(app);
app.mount("#app");
